package com.upload.spring.boot.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lgc
 * @createDate 2020/7/28 - 17:16
 */
@Data
@ConfigurationProperties(prefix = "upload.local")
public class UploadProperties {
    public static final String DEFAULT_LOCAlPATH= "upload";
    /**
     * <pre>
     * 本地上传目录，末尾不带分隔符
     * 如:
     *  /data/upload
     *  c:/data/upload
     * </pre>
     */
    private String localPath = DEFAULT_LOCAlPATH;

   /* *//**
     * <pre>
     * 根路径访问URL,末尾不带分隔符
     * 如： http://localhost:8080/upload
     * </pre>
     *//*
    private String rootURL = DEFAULT_ROOTURL;*/




}
